package com.kk.facade;

/**
 * @author 王志强
 * @date 2022-01-05
 */
public class Popcorn {

    private static final Popcorn INSTANCE = new Popcorn();

    private Popcorn() {
    }

    public static Popcorn getInstance() {
        return INSTANCE;
    }

    public void on() {
        System.out.println("Popcorn 开机");
    }

    public void off() {
        System.out.println("Popcorn 关机");

    }

    public void pause() {
        System.out.println("Popcorn 暂停");

    }
}
